#ifndef STORE_H
#define STORE_H

#include <QWidget>
#include<QPushButton>
#include<QLabel>
#include<QListWidget>
#include<QVBoxLayout>

class store : public QWidget
{
    Q_OBJECT
public:
    explicit store(QWidget *parent = nullptr);
    store(int cost,int hp,int attack,int defend);
    int _cost;
    int _hp;
    int _attack;
    int _defend;

signals:
    void sendId(int id);

public slots:
    void select();

private:
    QPushButton *ConPB;
    QListWidget *storeList;
    QLabel *label;
};

#endif // STORE_H
